package com.baidu.vo;

/**
 * 用户信息
 * @author libs
 * 2015-11-02
 */
public class SysUserInfo {
	
	private String guid;
	
	private String userName;
	
	private String nickName;
	
	private String email;
	
	private Integer group;
	
	public Boolean canVisit(String key){
		if(key!=null && key.equals("/user/login")){
			return true;
		}else{
			return false;
		}
	}
	public SysUserInfo() {
		super();
	}
	
	public SysUserInfo(String guid, String userName, String nickName, Integer group) {
		super();
		this.guid = guid;
		this.userName = userName;
		this.nickName = nickName;
		this.group = group;
	}

	public String getGuid() {
		return guid;
	}

	public void setGuid(String guid) {
		this.guid = guid;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}
	
    public Integer getGroup() {
        return group;
    }
    
    public void setGroup(Integer group) {
        this.group = group;
    }
	
}
